<?php
namespace app\api\model;

use think\Model;

class Nav extends Model
{
    public function getImageAttr($value){
        return $value ? full_url($value) : '';
    }
}